{template 'header', $template}
<div class="dsn" id="pos_show">您当前的位置：<a href="{$COM[linkurl]}">首页</a> &raquo; <a href="{$MENU[$menuid][linkurl]}">{$MENU[$menuid][name]}</a>{if $itemid} &raquo; {$title}{/if}</div>
{if $itemid}
<div class="main_head"><div><strong>{$title}</strong></div></div>
<div class="main_body">
	
		<table width="100%" align="center">
		<tr>
		<td width="270" valign="top">
			<div class="album">
				<table width="100%" cellpadding="0" cellspacing="0">
				<tr align="center">
				<td width="250" valign="top"><div><span id="abm" title="点击图片查看大图"><img src="{$albums[0]}" onload="if(this.width>240){this.width=240;}" onmouseover="SAlbum(this.src);" onmouseout="HAlbum();" onclick="PAlbum(this);" id="DIMG"/></span></div></td>
				</tr>
				<tr>
				<td>
				{loop $thumbs $k $v}<img src="{$v}" width="60" height="60" onmouseover="if(this.src.indexOf('nopic60.gif')==-1)Album({$k}, '{$albums[$k]}');"class="{if $k}ab_im{else}ab_on{/if}" id="t_{$k}"/>{/loop}</td>
				</tr>
				<tr align="center">
				<td height="30" onclick="PAlbum(Dd('DIMG'));"><img src="{AJ_SKIN}image/ico_zoom.gif" width="16" height="16" align="absmiddle"/> 点击图片查看大图</td>
				</tr>
				</table>
			</div>
		</td>
		<td valign="top">
			<div id="imgshow" style="display:none;"></div>
			<table width="100%" cellpadding="5" cellspacing="5">
			<tr>
			<td width="80" class="f_dblue">产 品：</td>
			<td><span id="hits" class="f_r">浏览次数：{$hits}</span><strong>{$title}</strong>&nbsp;</td>
			</tr>
			
			<tr>
			<td class="f_dblue">需求数量：</td>
			<td class="f_b f_orange">{$amount}&nbsp;</td>
			</tr>
			<tr>
			<td class="f_dblue">价格要求：</td>
			<td class="f_b f_orange">{$price}</td>
			</tr>
			<tr>
			<td class="f_dblue">规格要求：</td>
			<td class="f_b f_orange">{$standard}</td>
			</tr>
			<tr>
			<td class="f_dblue">包装要求：</td>
			<td class="f_b f_orange">{$pack}</td>
			</tr>
			<tr>
			<td class="f_dblue">所在地：</td>
			<td>{area_pos($areaid, '&nbsp;')}</td>
			</tr>
			<tr>
			<td class="f_dblue">有效期至：</td>
			<td>{if $todate}{$todate}{else}长期有效{/if}{if $expired} <span class="f_red">[已过期]</span>{/if}</td>
			</tr>
			<tr>
			<td class="f_dblue">&nbsp;</td>
			<td><a href="#message"><img src="{AJ_SKIN}image/btn_price.gif" alt="报价"/></a></td>
			</tr>
			</table>
		</td>
		</tr>
		</table>
	</div>

	<div class="main_head"><div><strong>详细信息</strong></div></div>
	<div class="main_body">
		{if $CP}{template 'property', 'chip'}{/if}
		<div class="content" id="content">{$content}</div>
	</div>
	{if $could_price}
	<div class="main_head"><div><strong><span id="message_title">报价单</span><a name="message"></a></strong></div></div>
	<div class="main_body">
		<iframe src="{$price_url}" name="fra" id="fra" style="width:98%;height:488px;" scrolling="no" frameborder="0"></iframe>
	</div>
	{/if}
	{if $could_comment && in_array($moduleid, explode(',', get_module_setting(3, 'comment_module')))}
	<div id="comment_div" style="display:;">
		<div class="main_head"><div><span class="f_r px12">共<span id="comment_count">0</span>条&nbsp;&nbsp;</span><strong><span id="message_title">相关评论</span></strong></div></div>
		<div class="main_body"><iframe src="{$MODULE[3][linkurl]}comment.php?mid={$moduleid}&itemid={$itemid}" id="aijiacms_comment" style="width:100%;" scrolling="no" frameborder="0"></iframe>
		</div>
	</div>
	{/if}
	<script type="text/javascript">
	var content_id = 'content';
	var img_max_width = {$MOD[max_width]};
	</script>
	<script type="text/javascript" src="{AJ_STATIC}file/script/content.js"></script>
{else}
<div class="main_head"><div><strong>{$MENU[$menuid][name]}</strong></div></div>
<div class="main_body">
	<table cellpadding="8" cellspacing="1" width="100%" align="center">
	{loop $lists $k $v}
	<tr{if $k%2==1} bgcolor="#FBFBFB"{/if}>
	<td align="left"><a href="{$v[linkurl]}" class="px13">{$v[title]}</a>
	</td>
	<td align="center" width="80">{timetodate($v[edittime], 3)}</td>
	</tr>
	{/loop}
	</table>
	<div class="pages">{$pages}</div>
</div>
{/if}
{template 'footer', $template}